#include "Face.h"

#include "Vertex.h"

//////////////////////////////////////////////////
//Face
//////////////////////////////////////////////////

//------------------------------------------------

Face::Face(Vertex* vertex0, Vertex* vertex1, Vertex* vertex2)
: m_vertex0(vertex0)
, m_vertex1(vertex1)
, m_vertex2(vertex2)
  {
  }

//------------------------------------------------

Face::~Face(void)
  {
  delete m_vertex0;
  delete m_vertex1;
  delete m_vertex2;
  }

//------------------------------------------------

Vertex* Face::GetVertex0() const
  {
  return m_vertex0;
  }

//------------------------------------------------

Vertex* Face::GetVertex1() const
  {
  return m_vertex1;
  }

//------------------------------------------------

Vertex* Face::GetVertex2() const
  {
  return m_vertex2;
  }

//------------------------------------------------

//////////////////////////////////////////////////
